package com.shisfish.library.Inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shisfish.core.Inter.IModelInter;
import com.shisfish.library.Model.Barcode;

public interface IBarcodeInter extends IModelInter<Barcode> {

	public int countNot();
	
	public List<Barcode> selectNotPage(@Param("currentPage") int currentPage, @Param("pageSize") int pageSize);
	
	public void used(@Param("code") String code);
	
	public Barcode selectByCode(@Param("code") String code);

	public int countType(@Param("type") int type);

	public List<Barcode> selectTypePage(@Param("type") int type, @Param("currentPage") int currentPage, @Param("pageSize") int pageSize);
	
}
